// 设备子系统
import { routes as deviceRoutes } from '../_device/router/routes';

import Dashboard from '../views/dashboard/Index';
import Error404 from '../views/error/Error404';
import Error500 from '../views/error/Error500';
import Intercept from '../views/permission/Intercept';
import Toggle from '../views/permission/Toggle';
import News from '../views/news/News';
import MenuOne from '../views/levelMenu/MenuOne';
import MenuTwo from '../views/levelMenu/MenuTwo';

import MenuManage from '../views/settings/MenuManage';
import RoleManage from '../views/settings/RoleManage';
import DepartmentManage from '../views/settings/DepartmentManage';
import UserManage from '../views/settings/UserManage';
import Log from '../views/settings/Log';

import Demo from '../views/Demo/Demo'
import InspectionStandard from '../views/basics/InspectionStandard/InspectionStandard';
import InspectionItem from '../views/basics/InspectionItem/InspectionItem';
// import Precision from '../views/basics/Precision/Precision';
import Precision from '../views/basics/AssemblyQualityStandard/Precision';
// import Pygidium from '../views/basics/Pygidium/Pygidium';
import Pygidium from '../views/basics/AssemblyQualityStandard/Pygidium';
// import Cephalic from '../views/basics/Cephalic/Cephalic';
import Cephalic from '../views/basics/AssemblyQualityStandard/Cephalic';
// import Bottomhole from '../views/basics/Bottomhole/Bottomhole';
import Bottomhole from '../views/basics/AssemblyQualityStandard/Bottomhole';
// import Parallel from '../views/basics/Parallel/Parallel';
import Parallel from '../views/basics/AssemblyQualityStandard/Parallel';
// import Bigexamine from '../views/basics/Bigexamine/Bigexamine';
import Bigexamine from '../views/basics/AssemblyQualityStandard/Bigexamine';
// import BigExamineAssemble from '../views/basics/BigExamineAssemble/BigExamineAssemble';
import BigExamineAssemble from '../views/basics/AssemblyQualityStandard/BigExamineAssemble';
import SelfCheckingManage from '../views/basics/AssemblyQualityStandard/SelfCheckingManage';
import SelfCheckingManage_Detail from '../views/basics/AssemblyQualityStandard/SelfCheckingManageDetail';

import Precision_Report from '../views/ReportPages/PrecisionReport';
import Pygidium_Report from '../views/ReportPages/PygidiumReport';
import Cephalic_Report from '../views/ReportPages/CephalicReport';
import Bottomhole_Report from '../views/ReportPages/BottomholeReport';
import Parallel_Report from '../views/ReportPages/ParallelReport';
import Bigexamine_Report from '../views/ReportPages/BigexamineReport';
import BigExamineAssemble_Report from '../views/ReportPages/BigExamineAssembleReport';
// 自检表
import SelfChecking_Report from '../views/ReportPages/SelfCheckingReport'

import GetSuoolise from '../views/supplies/GetSuoolise/GetSuoolise';
import OweSupplies from '../views/supplies/OweSupplies/OweSupplies';
import StayGrant from '../views/supplies/StayGrant/StayGrant';
import Particulars from '../views/supplies/StayGrant/Particulars';
import Inquire from '../views/supplies/Inquire/Inquire';
import GetParticulars from '../views/supplies/Inquire/GetParticulars';
import TheFactoryModel from '../views/basics/TheFactoryModel/TheFactoryModel';
import ShiftIns from '../views/basics/InspectionStandard/ShiftIns/ShiftIns';
import Maintain from '../views/basics/Maintain/Maintain'
import LargeScreenConfiguration from '../views/LargeScreenConfiguration/LargeScreenConfiguration';
import ProcessAllocation from '../views/basics/processAllocation/ProcessAllocation';
import Relevancy from '../views/basics/processAllocation/relevancy/Relevancy';
import ClassMaintain from '../views/basics/classMaintain/ClassMaintain'
import Member from '../views/basics/classMaintain/Member/Member'
import ReturnInquire from '../views/supplies/ReturnInquire/ReturnInquire'
import FinishRecord from '../views/supplies/FinishRecord/FinishRecord'
import Examine from '../views/basics/InspectionStandard/ShiftIns/Examine';
import Examinehave from '../views/basics/InspectionStandard/Examinehave'
import MonthPlan from '../views/Plan/MonthPlan/MonthPlan';
import WeekPlan from '../views/Plan/WeekPlan/WeekPlan';
import FinalAssemblyAbnormal from '../views/billsDispose/finalAssemblyAbnormal/finalAssemblyAbnormal';
import AssembleCorrect from '../views/billsDispose/assembleCorrect/assembleCorrect';
import AccessoriesQualityStatement from '../views/billsDispose/accessoriesQualityStatement/accessoriesQualityStatement';
import MaterialAccept from '../views/supplies/MaterialAccept/MaterialAccept';
import ComparisonBatchNumber from '../views/Bom/ComparisonBatchNumber';




import productionOrder from '../views/ProductiveProcess/productionOrder/index';
import productionOrder_Details from '../views/ProductiveProcess/productionOrder/Details';

import Bom from '../views/Bom/index';
import Bom_details from '../views/Bom/Details';

import DingTalkSettings from '../views/DingTalkSettings/index';

import SpecialMachine from '../views/ProductiveProcess/SpecialMachine'

import CommissioningManagement from '../views/ProductiveProcess/CommissioningManagement/index';
import CommissioningManagement_Details from '../views/ProductiveProcess/CommissioningManagement/Details';
// 质检管理
import CheckManagement from '../views/ProductiveProcess/CheckManagement/index';
import CheckManagement_Details from '../views/ProductiveProcess/CheckManagement/Details';
// 图纸检索
import DrawingRetrieval from '../views/ProductiveProcess/DrawingRetrieval/index';
// 过程质量管控
import ProcessQualityControl from '../views/ProductiveProcess/ProcessQualityControl/index';
// 过程质量管控 - 详情页面
import ProcessQualityControl_Precision from '../views/ProductiveProcess/ProcessQualityControl/SubPages/Precision';
import ProcessQualityControl_Pygidium from '../views/ProductiveProcess/ProcessQualityControl/SubPages/Pygidium';
import ProcessQualityControl_Parallel from '../views/ProductiveProcess/ProcessQualityControl/SubPages/Parallel';
import ProcessQualityControl_Cephalic from '../views/ProductiveProcess/ProcessQualityControl/SubPages/Cephalic';
import ProcessQualityControl_Bottomhole from '../views/ProductiveProcess/ProcessQualityControl/SubPages/Bottomhole';
import ProcessQualityControl_Bigexamine from '../views/ProductiveProcess/ProcessQualityControl/SubPages/Bigexamine';
import ProcessQualityControl_BigExamineAssemble from '../views/ProductiveProcess/ProcessQualityControl/SubPages/BigExamineAssemble';
// 自检表单列表页
import SelfCheckingList from '../views/ProductiveProcess/ProcessQualityControl/SelfCheckingList';


// 过程质量
import ProcessQuality from '../views/ProductiveProcess/ProcessQuality/index';
import ProcessQuality_SubPage1 from '../views/ProductiveProcess/ProcessQuality/SubPage1';
import ProcessQuality_SubPage2 from '../views/ProductiveProcess/ProcessQuality/SubPage2';
import ProcessQuality_SubPage3 from '../views/ProductiveProcess/ProcessQuality/SubPage3';
import ProcessQuality_SubPage4 from '../views/ProductiveProcess/ProcessQuality/SubPage4';
import ProcessQuality_SubPage5 from '../views/ProductiveProcess/ProcessQuality/SubPage5';
import ProcessQuality_SubPage6 from '../views/ProductiveProcess/ProcessQuality/SubPage6';
import ProcessQuality_SubPage7 from '../views/ProductiveProcess/ProcessQuality/SubPage7';
// 物料接收
import MaterialReceiving from '../views/ProductiveProcess/MaterialReceiving/index';
import MaterialReceiving_Details from '../views/ProductiveProcess/MaterialReceiving/Details';
// 生产报工统计
import ReportProductionStatistics from '../views/ProductiveProcess/ReportProductionStatistics/index';
// 生产排班列表
import productionLayoutList from '../views/ProductiveProcess/productionLayoutList/index';
// 单据管理 - 总装异常报告表
import AssemblyAbnormal from '../views/BillManage/AssemblyAbnormal/index';
import AssemblyAbnormal_Details from '../views/BillManage/AssemblyAbnormal/Details';

// 客户验收
import ApplyAcceptance from '../views/acceptance/apply';
import agreement from '../views/acceptance/agreement';

//装配进度查询 AssemblyProgressQuery
import AssemblyProgressQuery from '../views/ProductiveProcess/AssemblyProgressQuery';
//机位总览 ReservationOverview
import ReservationOverview from '../views/ProductiveProcess/ReservationOverview';

// ProduceDispatch 生产派工
import ProduceDispatch from '../views/supplies/ProduceDispatch';

// 监控平台菜单  MonitoringPlatform
import MonitoringPlatform from '../views/MonitoringPlatform';


// ERPDeliveryRecord  ERP出库记录
import ERPDeliveryRecord from "../views/supplies/ERPDeliveryRecord";
import ERPDeliveryRecordDetails from "../views/supplies/ERPDeliveryRecord/Particulars";
// 车间生产信息看板
import KanBan from "../views/KanBan";
import KanBanWorkShop1 from "../views/KanBan/index1";
import KanBanWorkShop2 from "../views/KanBan/index2";
import KanBanWorkShop3 from "../views/KanBan/index3";
import KanBanWorkShop4 from "../views/KanBan/index4";
import KanBanWorkShop5 from "../views/KanBan/index5";
//驾驶舱统计
import KanBan2 from "../views/KanBan2";
//驾驶舱统计
import KanBan3 from "../views/KanBan3";


import test from '../views/test/test001';


export const routes = [
	{ path: '/test', component: test },

	{ path: "/KanBan", component: KanBan, auth: true },
	{ path: "/KanBanWorkShop1", component: KanBanWorkShop1, auth: true },
	{ path: "/KanBanWorkShop2", component: KanBanWorkShop2, auth: true },
	{ path: "/KanBanWorkShop3", component: KanBanWorkShop3, auth: true },
	{ path: "/KanBanWorkShop4", component: KanBanWorkShop4, auth: true },
	{ path: "/KanBanWorkShop5", component: KanBanWorkShop5, auth: true },
	{ path: "/KanBan2", component: KanBan2 },
	{ path: "/KanBan22", component: KanBan2, auth: true },
	{ path: "/KanBan3", component: KanBan3, auth: true },
	{ path: "/ERPDeliveryRecord", component: ERPDeliveryRecord },
	{ path: "/ERPDeliveryRecordDetails", component: ERPDeliveryRecordDetails }, //ERP出库记录-详细页

	{ path: '/MonitoringPlatform', component: MonitoringPlatform },
	{ path: '/dashboard', component: Dashboard },
	{ path: '/menu/level/submenu-1', component: MenuOne },
	{ path: '/menu/level/submenu-2', component: MenuTwo },
	{ path: '/permission/toggle', component: Toggle, permission: 1 },
	{ path: '/permission/intercept', component: Intercept },
	{ path: '/news', component: News },
	{ path: '/error/404', component: Error404 },
	{ path: '/error/500', component: Error500 },

	{ path: '/MenuManage', component: MenuManage },
	{ path: '/RoleManage', component: RoleManage },
	{ path: '/UserManage', component: UserManage },
	{ path: '/DepartmentManage', component: DepartmentManage },
	{ path: '/Log', component: Log },

	{ path: '/Demo', component: Demo },
	{ path: '/inspectionStandard', component: InspectionStandard },               //质检表单
	{ path: '/inspectionItem', component: InspectionItem },                       //检验项目
	{ path: '/precision', component: Precision },                                 //机架水平精度调校标准
	{ path: '/pygidium', component: Pygidium },                                   //尾板调节螺母压盖与调节螺母配合精度标准
	{ path: '/cephalic', component: Cephalic },                                   //哥林柱与头板垂直度装配标准
	{ path: '/bottomhole', component: Bottomhole },                               //三大板下孔等高检测标准
	{ path: '/parallel', component: Parallel },                                   //哥林柱与机架导轨面平行度标准
	{ path: '/bigexamine', component: Bigexamine },                               //大机装配检查标准（装配外观）
	{ path: '/bigExamineAssemble', component: BigExamineAssemble },               //大机装配检查标准（装配过程）
	{ path: '/SelfCheckingManage', component: SelfCheckingManage },               //自检表单管理
	{ path: '/SelfCheckingManage_Detail', component: SelfCheckingManage_Detail },               //自检表单管理
	// 报表 / 表单预览
	{ path: '/Precision_Report', component: Precision_Report },                   //表单预览 / 报表
	{ path: '/pygidium_Report', component: Pygidium_Report },                     //表单预览 / 报表
	{ path: '/cephalic_Report', component: Cephalic_Report },                     //表单预览 / 报表
	{ path: '/bottomhole_Report', component: Bottomhole_Report },                 //表单预览 / 报表
	{ path: '/parallel_Report', component: Parallel_Report },                     //表单预览 / 报表
	{ path: '/bigexamine_Report', component: Bigexamine_Report },                 //表单预览 / 报表
	{ path: '/bigExamineAssemble_Report', component: BigExamineAssemble_Report }, //表单预览 / 报表
	{ path: '/SelfChecking_Report', component: SelfChecking_Report },     		  //自检表

	{ path: '/getSuoolise', component: GetSuoolise },                             //领料申请
	{ path: '/oweSupplies', component: OweSupplies },                             //欠料管理  
	{ path: '/stayGrant', component: StayGrant },                                 //待发放物料
	{ path: '/particulars', component: Particulars },                             //待发放物料-详细页
	{ path: '/inquire', component: Inquire },                                     //领料单查询      待发放物料-详细页-查看详细页
	{ path: '/getParticulars', component: GetParticulars },                       //领料单批次明细
	{ path: '/theFactoryModel', component: TheFactoryModel },                     //工厂建模
	{ path: '/shiftIns', component: ShiftIns },                                   //质检表单-查看检验项目页
	{ path: '/maintain', component: Maintain },                                   //产品维护
	{ path: '/largeScreenConfiguration', component: LargeScreenConfiguration },   //大屏管理
	{ path: '/processAllocation', component: ProcessAllocation },                 //工序与班组分配-工序页
	{ path: '/relevancy', component: Relevancy },                                 //工序与班组分配-班组页
	{ path: '/classMaintain', component: ClassMaintain },                         //班组维护
	{ path: '/member', component: Member },                                       //班组维护-成员管理页
	{ path: '/returnInquire', component: ReturnInquire },                         //回仓物料查询
	{ path: '/finishRecord', component: FinishRecord },                           //成品机入库记录
	{ path: '/examine', component: Examine },                                     //质检表单-查看检验项目页--表单样式浏览页
	{ path: '/examinehave', component: Examinehave },                             //质检表单-查看绑定数据
	{ path: '/monthPlan', component: MonthPlan },                                 //月计划管理
	{ path: '/weekPlan', component: WeekPlan },                                   //周计划管理
	{ path: '/finalAssemblyAbnormal', component: FinalAssemblyAbnormal },                       //总装异常报告
	{ path: '/assembleCorrect', component: AssembleCorrect },                                   //装配质量问题纠正措施要求表
	{ path: '/accessoriesQualityStatement', component: AccessoriesQualityStatement },           //配件质量报告表
	{ path: '/materialAccept', component: MaterialAccept },                       //物料接收


	{ path: '/productionOrder', component: productionOrder },											//生产订单
	{ path: '/productionOrder_Details', component: productionOrder_Details },			//生产订单 详情
	{ path: '/Bom', component: Bom },											                        //生产订单（bom）
	{ path: '/Bom_details', component: Bom_details },                             //生产订单（BOM）详情
	{ path: '/ComparisonBatchNumber', component: ComparisonBatchNumber },              //生产订单---对比批号
	{ path: '/DingTalkSettings', component: DingTalkSettings },										//钉钉配置
	{ path: '/SpecialMachine', component: SpecialMachine },										    //特供机信息管理
	{ path: '/CommissioningManagement', component: CommissioningManagement },     //试机管理
	{ path: '/CommissioningManagement_Details', component: CommissioningManagement_Details },			//试机管理 详情
	{ path: '/CheckManagement', component: CheckManagement },     //质检管理
	{ path: '/CheckManagement_Details', component: CheckManagement_Details },			//质检管理 详情
	{ path: '/DrawingRetrieval', component: DrawingRetrieval },     //图纸检索 
	{ path: '/ProcessQualityControl', component: ProcessQualityControl },     //过程质量管控
	// 过程质量管控 - 详情页面
	{ path: '/ProcessQualityControl_Precision', component: ProcessQualityControl_Precision },
	{ path: '/ProcessQualityControl_Pygidium', component: ProcessQualityControl_Pygidium },
	{ path: '/ProcessQualityControl_Parallel', component: ProcessQualityControl_Parallel },
	{ path: '/ProcessQualityControl_Cephalic', component: ProcessQualityControl_Cephalic },
	{ path: '/ProcessQualityControl_Bottomhole', component: ProcessQualityControl_Bottomhole },
	{ path: '/ProcessQualityControl_Bigexamine', component: ProcessQualityControl_Bigexamine },
	{ path: '/ProcessQualityControl_BigExamineAssemble', component: ProcessQualityControl_BigExamineAssemble },
	{ path: '/SelfCheckingList', component: SelfCheckingList },

	{ path: '/ProcessQuality', component: ProcessQuality },     //过程质量
	{ path: '/ProcessQuality_SubPage1', component: ProcessQuality_SubPage1 },			//过程质量 子页面1
	{ path: '/ProcessQuality_SubPage2', component: ProcessQuality_SubPage2 },			//过程质量 子页面2
	{ path: '/ProcessQuality_SubPage3', component: ProcessQuality_SubPage3 },			//过程质量 子页面3
	{ path: '/ProcessQuality_SubPage4', component: ProcessQuality_SubPage4 },			//过程质量 子页面4
	{ path: '/ProcessQuality_SubPage5', component: ProcessQuality_SubPage5 },			//过程质量 子页面5
	{ path: '/ProcessQuality_SubPage6', component: ProcessQuality_SubPage6 },			//过程质量 子页面6
	{ path: '/ProcessQuality_SubPage7', component: ProcessQuality_SubPage7 },			//过程质量 子页面7
	{ path: '/MaterialReceiving', component: MaterialReceiving },     //物料接收
	{ path: '/MaterialReceiving_Details', component: MaterialReceiving_Details },			//物料接收 详情
	{ path: '/ReportProductionStatistics', component: ReportProductionStatistics },			//生产报工统计
	{ path: '/productionLayoutList', component: productionLayoutList },			//生产排班列表
	{ path: '/AssemblyAbnormal', component: AssemblyAbnormal },			//总装异常报告表
	{ path: '/AssemblyAbnormal_Details', component: AssemblyAbnormal_Details },			//总装异常报告表-详情
	{ path: '/ApplyAcceptance', component: ApplyAcceptance },			//客户验收申请
	{ path: '/agreement', component: agreement },   //技术协议
	{ path: '/AssemblyProgressQuery', component: AssemblyProgressQuery },//装配进度查询 AssemblyProgressQuery
	{ path: '/ReservationOverview', component: ReservationOverview },//机位总览 ReservationOverview
	{ path: '/ProduceDispatch', component: ProduceDispatch }, // 生产派工 ProduceDispatch

].concat(...deviceRoutes);

